import Vue from 'vue' // 引入vue项目
import ElementUI from 'element-ui'

import 'element-ui/lib/theme-chalk/index.css'
import App from './App.vue' //引入App组件
import store from './store'
import router from './router/index.js'

import moment from 'moment'

Vue.filter('formatDate', function(value) {
    if (value) {
        return moment(String(value)).format('YYYY-MM-DD hh:mm')
    }
})
